<template>
   	<router-view v-if="render"></router-view>
</template>
<script>
export default {
	data(){
		return {
			render:true,//是否渲染视图 用于刷新缓存页面
		}
	},
	provide(){
		return {
			refreshPage:this.refreshPage
		}
	},
	methods:{
		refreshPage(){
			this.render=false
			this.$nextTick(()=>{
				this.render=true
			})
		}
	}
}
</script>
<style lang="scss">
@import './styles/common.scss';
</style>
